<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
 <% Object pathMath=request.getAttribute("org.springframework.web.servlet.HandlerMapping.bestMatchingPattern");
 if(pathMath!=null)
 {
	 
	 String mvcpath=pathMath.toString();
	 mvcpath = mvcpath.substring(0, mvcpath.lastIndexOf("/"));
     pageContext.setAttribute("mvcpath", request.getContextPath()+mvcpath);
 }
 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title> 自得</title>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta http-equiv="Cache-Control" content="no-store"/>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0"/>
	<link rel="stylesheet" type="text/css" href="${base}/css/jquery/jquery.ui.all.css" media="screen"/>
	<link rel="stylesheet" type="text/css" href="${base}/css/table_data.css" media="screen"/>
	<link rel="stylesheet" type="text/css" href="${base}/css/lightbox/style.css" media="screen"/>
	<link rel="stylesheet" type="text/css" href="${base}/css/style.css" title="style_blue" media="screen"/>
	<link rel="stylesheet" type="text/css"  type="text/css" href="${base}/css/zidei.css" media="screen" />
	<script type="text/javascript" src="${base}/js/jquery-1.4.2.js"></script>
	<script type="text/javascript" src="${base}/js/jquery-ui-1.8.2.js"></script>
	<script type="text/javascript" src="${base}/js/jquery.validate.js" ></script>
	<script type="text/javascript" src="${base}/js/jquery.wysiwyg.js" ></script>
	<script type="text/javascript" src="${base}/js/custom.js"></script>
	</head>
	<body>
	<div id="loading_overlay"><div class="loading_message round_bottom"><fmt:message key="operation.loading"/> </div></div>
    <div id="wrapper">
	<div id="content">
	 <c:if test="${showmessage ne null}">
	 <c:choose>
	 <c:when test="${showmessage.messageType eq 'message_warn' }">
	       <span class="message warning" id="showMessage"><strong>警告 </strong> -<fmt:message key="${showmessage.messageKey}"/> </span>
         </c:when>
         	 <c:when test="${showmessage.messageType eq 'message_success'}">
              <span class="message success" id="showMessage"><strong>成功 </strong>-<fmt:message key="${showmessage.messageKey}"/></span>
                     </c:when>
         	 <c:when test="${showmessage.messageType eq 'message_error' }">
              <span class="message error" id="showMessage"><strong>错误 </strong>  - <fmt:message key="${showmessage.messageKey}"/></span>
                    </c:when>
                    <c:otherwise>
                <span class="message information" id="showMessage"><strong>提示 </strong>  - <fmt:message key="${showmessage.messageKey}"/></span>
                </c:otherwise>
                </c:choose>
		 </c:if>
	<form action="${mvcpath}/list.do" id="pageForm" method="post">
	<input type="hidden" name="pageNo" id="pageNo" value="${page.number+1}" /> 
	<input type="hidden" name="pageSize" id="pageSize" value="${page.size}" /> 
	<input type="hidden" name="orderField" id="orderField" value="${z:firstOrder(page.sort).property}" /> 
	<input type="hidden" name="orderDirection" id="orderDirection" value="${z:firstOrder(page.sort).direction}" />
   	</form>
   	<div id="confirmMessage" title="确认"  class="dialog"><p id="confirmMessageBody"  class="msgbody"></p>
	<p class="fr">
				<a class="button themed closer">取消</a>
				<a class="button themed closer"  id="confirmId">确认</a>
				</p>
</div>
<div id="alertMessage" title="信息" class="dialog"><p id="alertMessageBody"  class="msgbody"></p></div>